package com.bdqn.ch05.service;

import com.bdqn.ch05.pojo.SysUser;

import java.util.List;

public interface SysUserService {

    SysUser login(String usrName,String usrPassword);

    int addSysUser(SysUser sysUser);

    int deleteSysUser(Long usrId);

    int updateSysUser(SysUser sysUser);

    SysUser getSysUser(Long usrId);

    List<SysUser> findAllSysUsers();
    
}
